package priv.project.pojo;/**
 * @author： li
 * @date： 2023-02-14 14:15
 * @version 1.0
 */


import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

/**
 * @author： ljm
 * @date： 2023-02-14 14:15
 * @version 1.0
 */
@TableName("t_user")
public class User {
    private int id;
    private String loginName;
    private String userName;
    private String password;
    private Date createDate;
    private int age;
    private String sex;
    private String headImg;
    private String idCard;
    private Date birthday;

    public User() {
    }

    public User(int id, String loginName, String userName, String password, Date createDate, int age, String sex, String headImg, String idCard, Date birthday) {
        this.id = id;
        this.loginName = loginName;
        this.userName = userName;
        this.password = password;
        this.createDate = createDate;
        this.age = age;
        this.sex = sex;
        this.headImg = headImg;
        this.idCard = idCard;
        this.birthday = birthday;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }


    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", loginName='" + loginName + '\'' +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", createDate=" + createDate +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", headImg='" + headImg + '\'' +
                ", idCard='" + idCard + '\'' +
                ", birthday=" + birthday +
                '}';
    }
}
